// DefaultPage.js

import React from 'react';
import { Link } from 'react-router-dom';
import '../style/DefaultPage.css';

const DefaultPage = () => {
  return (
    <div className="default-page">
      <div className="content">
        <h1>Welcome to My Word App</h1>
        <p>Please log in to access the word list.</p>
        <Link to="/login" className="login-link">Log In</Link>
      </div>
    </div>
  );
};

export default DefaultPage;
